/*
 * @Author: [lcy]
 * @Date: 2021-10-28 16:19:26
 * @LastEditors: [lcy]
 * @LastEditTime: 2021-10-28 17:09:36
 * @Description: 
 */
import { get, post } from '@/utils/request'

// 根据搜索框信息和分页信息获取数据 /article/pageQuery
export function pageQuery(data) {
  return get('/article/pageQuery', data)
}
// 更新状态 /article/saveOrUpdate
export function changeStatus(data) {
  return post('/article/changeStatus', data)
}

// 删除 /article/deleteById
export function deleteById(data) {
  return get('/article/deleteById', data)
}
//  提交 /article/saveOrUpdate
export function saveOrUpdate(data) {
  return post('/article/saveOrUpdate', data)
}



